From daa07c3310417da31f8397c5934ddbc44a15d886 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 10 Oct 2015 08:50:21 +0200 Subject: [PATCH] Add patch for Eigen build error --- ...D_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch | 21 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch diff --git a/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch b/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch new file mode 100644 index 00000000..34e52396 --- /dev/null +++ b/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch @@ -0,0 +1,21 @@ +From: Jochen Sprickerhof +Date: Sat, 10 Oct 2015 08:47:01 +0200 +Subject: Fix THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS + +--- + registration/include/pcl/registration/impl/ppf_registration.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/registration/include/pcl/registration/impl/ppf_registration.hpp b/registration/include/pcl/registration/impl/ppf_registration.hpp +index fc752a4..2203862 100644 +--- a/registration/include/pcl/registration/impl/ppf_registration.hpp ++++ b/registration/include/pcl/registration/impl/ppf_registration.hpp +@@ -317,7 +317,7 @@ pcl::PPFRegistration::posesWithinErrorBounds (Eigen::A + Eigen::Affine3f &pose2) + { + float position_diff = (pose1.translation () - pose2.translation ()).norm (); +- Eigen::AngleAxisf rotation_diff_mat (pose1.rotation ().inverse () * pose2.rotation ()); ++ Eigen::AngleAxisf rotation_diff_mat (pose1.rotation ().inverse ().lazyProduct (pose2.rotation ())); + + float rotation_diff_angle = fabsf (rotation_diff_mat.angle ()); + diff --git a/debian/patches/series b/debian/patches/series index 2a57aa74..ccc1c73a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 0007-Fix-for-boost-1.57.patch 0008-Fixes-manual_registration-and-segmentation-demo-for-.patch 0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch +0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch -- 2.30.2